﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CheckUpResourceList.aspx.cs"
    Inherits="sysadmin_CourseManager_CheckUpResourceList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>上传未审核资源</title>
    <link href="../../css/default.css" type="text/css" rel="stylesheet" />
    <style type="text/css">
.{
    font-size:12px
 }
</style>
</head>
<body>
    <form id="form1" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" class="colorbg">
            <tr>
                <th>
                    <img src="../../images/dh.gif" alt="导航图片" width="18" height="18" /></th>
                <td>
                    您的位置:后台管理 &gt; 课程管理 &gt; 课程资源管理 &gt; 审核上传资源
                </td>
            </tr>
        </table>
        <br />
        <table border="0" cellpadding="0" cellspacing="0" class="talbe-rearch">
            <tr>
                <th>
                    资源名称
                </th>
                <td>
                    <asp:TextBox ID="txtResourceName" runat="server"></asp:TextBox>&nbsp;
                    <asp:Button ID="btnSearch" runat="server" Text="查 询" CssClass="mybuttons" OnClick="btnSearch_Click" />
                    <asp:Button ID="btnBack" runat="server" Text="返 回" CssClass="mybuttons" OnClick="btnBack_Click" /></td>
            </tr>
        </table>
        <br />
        <asp:Repeater ID="rtpResourceList" runat="server" OnItemCommand="rtpResourceList_ItemCommand">
            <HeaderTemplate>
                <table width="100%" class="List-GridView">
                    <tr>
                        <th>
                            资源编号</th>
                        <th>
                            课件名称</th>
                        <th>
                            课件类型</th>
                        <th>
                            上传时间</th>
                        <th>
                            操作</th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>&nbsp;
                    <%#DataBinder.Eval(Container.DataItem, "ResourceID")%>
                    </td>
                    <td>&nbsp;
                    <%#DataBinder.Eval(Container.DataItem, "ResourceName")%>
                    </td>
                    <td>&nbsp;
                    <%#DataBinder.Eval(Container.DataItem, "NewTypeName")%>
                    </td>
                    <td>&nbsp;
                    <%#DataBinder.Eval(Container.DataItem, "CreatedTime")%>
                    </td>
                     <td>&nbsp;
                        <a href='<%#Eval("ResourceID","CheckupResource.aspx?ResourceID={0}")%>' target="_self">审核</a>
                        &nbsp;
                         <asp:LinkButton ID="lnkbtnDel" runat="server" CommandName="mydel" CommandArgument='<%#Eval("ResourceID")%>'>删除</asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        <br />
        <table border="0" width="100%" cellpadding="0" cellspacing="0">
            <tr>
                <td align="center" style="height: 15px">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center"
                        OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" Width="100%"
                        meta:resourceKey="AspNetPager1" Style="font-size: 14px" InputBoxStyle="width:19px"
                        CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%" FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
